ARCHS =  ia32 x86

all: $(ARCHS)

$(ARCHS):
	make -C $@.dir
	ar -r lib$@.a $@.dir/*.o

clean:
	make clean -C ia32.dir
	rm -fr *.a
	rm -fr */*.o	
